const prefixUrl = {
  list: "/index.php/UserVideo/VideoList",
  detail: "/index.php/UserVideo/videoDetail",
};

export default {
  queryList: (params = {}) => {
    return http.get(prefixUrl.list, {
      params,
    });
  },
  queryDetail: (params = {}) => {
    return http.get(prefixUrl.detail, {
      params,
    });
  },
};
